﻿using System;
using BlueDot.Mobile.Core;

namespace TrackPreviousView.Views
{
    public partial class Dialog1View : DialogViewBase
    {
        #region Fields

        private const string Dialog1ViewShowing = WellKnownActions.ViewShowing + "/Dialog1View";
        private const string Dialog1ViewShown = WellKnownActions.ViewShown + "/Dialog1View";

        #endregion

        #region Constructors

        public Dialog1View()
        {
            InitializeComponent();
        }

        [DependencyConstructor]
        public Dialog1View(IMobileApplication application)
            : base(application)
        {
            InitializeComponent();
        }

        #endregion

        #region public

        /// <summary>
        /// This action receiver is called when Dialog1View is showing.
        /// </summary>
        [Receiver(Dialog1ViewShowing)]
        public void OnDialog1ViewShowing(object sender, EventArgs e)
        {
        }

        /// <summary>
        /// This action receiver is called when Dialog1View is shown.
        /// </summary>
        [Receiver(Dialog1ViewShown)]
        public void OnDialog1ViewShown(object sender, EventArgs e)
        {
        }

        #endregion

        #region protected

        protected override string ViewShowingKey()
        {
            return Dialog1ViewShowing;
        }

        #endregion
    }
}